package com.example.bookstore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bookstore.common.PageResult;
import com.example.bookstore.common.Result;
import com.example.bookstore.dto.AppraiseRequest;
import com.example.bookstore.entity.Appraise;

public interface AppraiseService extends IService<Appraise> {
    Result addAppraise(AppraiseRequest appraise);

    PageResult<Appraise> getBookAppraise(int pageSize, int currentPage, int bookId);

    Result getAppraiseByOrder(int id);

}
